package com.mit.wx.parser;

import com.mit.wx.wx.dto.SourceMessage;
import com.mit.wx.wx.dto.TargetMessage;

/**
 * 2018/10/13 Create by 郭文梁
 * WxMessageParser
 * 微信消息解析器
 *
 * @author 郭文梁
 * @date 2018/10/13
 */
public interface WxMessageParser {
    /**
     * 解析微信消息
     *
     * @param sourceMessage 源消息
     * @return 目标消息
     */
    TargetMessage parseMessage(SourceMessage sourceMessage);
}
